#pragma once

#ifdef MYLIB_EXPORTS
#define MYLIB_API __declspec(dllexport)  // 导出符号
#else
#define MYLIB_API __declspec(dllimport)  // 导入符号
#endif

#include <string> 
using namespace std;

class MYLIB_API Person {
public:
    Person();
    ~Person();

    void setName(string name);
    void setAge(int age);

    string getName();
    int getAge();
    
private:
    std::string m_strName;
    int m_nAge;
};